package cn.iocoder.yudao.module.system.controller.admin.mini.goodInfo.dis.controller.admin.disgoods.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 折扣商品 Excel 导出 Request VO，参数和 DisGoodsPageReqVO 是一致的")
@Data
public class DisGoodsExportReqVO {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "商品id", example = "22305")
    private Integer goodsId;

    @Schema(description = "商品详情")
    private String goodsInfo;

    @Schema(description = "商品名称", example = "李四")
    private String goodsName;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] entTime;

    @Schema(description = "已售库存")
    private Integer soldNum;

    @Schema(description = "状态0未审核1上架2下架3已结束", example = "2")
    private Integer status;

}
